package com.cake.liulanxiangzhu.mapper;
import java.util.List;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.cake.liulanxiangzhu.pojo.entity.OmsOrderItem;
import com.cake.liulanxiangzhu.pojo.vo.AdminCakeskuVO;
import org.apache.ibatis.annotations.Param;

import com.cake.liulanxiangzhu.pojo.entity.AdminCakesku;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
* @author Administrator
* @description 针对表【admin_cakesku】的数据库操作Mapper
* @createDate 2023-01-19 13:20:59
* @Entity com.cake.liulanxiangzhu.pojo.entity.AdminCakesku
*/
@Repository
public interface AdminCakeskuMapper extends BaseMapper<AdminCakesku> {

    List<AdminCakeskuVO> queryAllByCakeId(@Param("cakeId") Integer cakeId);

    AdminCakeskuVO queryAllBySkuId(Integer cakeId);

    List<AdminCakeskuVO> queryAllByIds(List<OmsOrderItem> ids);

}




